package com.auemall.service;

import java.util.List;

import com.auemall.po.Favorite;
import com.auemall.po.ex.ProductEx;

public interface FavoriteService {
	
	int deleteByPrimaryKey(Integer id);

    int insert(Favorite record);

    int insertSelective(Favorite record);

    Favorite selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Favorite record);

    int updateByPrimaryKey(Favorite record);

    /**
     * 获取收藏夹信息
     * @return
     */
    List<ProductEx> findAllFavorite(Integer buyid);
}
